package cn.quevo.core.exception;

import cn.quevo.core.enums.ResultStatusEnum;

/**
 * 权限不足异常
 * 
 * @author July july_sky@foxmail.com
 * @date 2018年3月28日 下午4:57:46
 * @Copyright ©2015-2035 湘豫(北京)科技有限公司. All Rights Reserved.
 * @version 1.0
 */
public class UnauthorizedException extends CustomException {
    /**
     * 
     */
    private static final long serialVersionUID = 569885288050404794L;

    public UnauthorizedException() {
        super(ResultStatusEnum.UNAUTHORIZED);
    }

    public UnauthorizedException(String msg) {
        super(ResultStatusEnum.UNAUTHORIZED.getCode(), msg);
    }
}
